KFbxAnimCurveDef Class Reference

#include <kfbxanimcurve.h>

List of all members.


Detailed Description

This is the base class interface for the Fbx animation function curves keys.

This class, for the time being, is implemented by the old KFCurveKey structure. However, in a near future (2009-2010), KFbxAnimCurveKey will become the main animation key object of the SDK, and the implementation is subject to change.

Definition at line 56 of file kfbxanimcurve.h.


Public Types

enum   ETangentMode {
   eTANGENT_AUTO = KFCURVE_TANGEANT_AUTO,
   eTANGENT_TCB = KFCURVE_TANGEANT_TCB,
   eTANGENT_USER = KFCURVE_TANGEANT_USER,
   eTANGENT_BREAK = KFCURVE_TANGEANT_BREAK,
   eTANGENT_AUTO_BREAK = KFCURVE_TANGEANT_AUTO_BREAK,
   eTANGENT_GENERIC_CLAMP = KFCURVE_GENERIC_CLAMP,
   eTANGENT_GENERIC_TIME_INDEPENDENT = KFCURVE_GENERIC_TIME_INDEPENDENT
}
  Tangent modes. More...
enum   EInterpolationType {
   eINTERPOLATION_CONSTANT = KFCURVE_INTERPOLATION_CONSTANT,
   eINTERPOLATION_LINEAR = KFCURVE_INTERPOLATION_LINEAR,
   eINTERPOLATION_CUBIC = KFCURVE_INTERPOLATION_CUBIC,
   eINTERPOLATION_ALL = KFCURVE_INTERPOLATION_ALL
}
  Interpolation modes. More...
enum   EWeightedMode {
   eWEIGHTED_NONE = KFCURVE_WEIGHTED_NONE,
   eWEIGHTED_RIGHT = KFCURVE_WEIGHTED_RIGHT,
   eWEIGHTED_NEXT_LEFT = KFCURVE_WEIGHTED_NEXT_LEFT,
   eWEIGHTED_ALL = KFCURVE_WEIGHTED_ALL
}
  Weight modes. More...
enum   EConstantMode {
   eCONSTANT_STANDARD = KFCURVE_CONSTANT_STANDARD,
   eCONSTANT_NEXT = KFCURVE_CONSTANT_NEXT,
   eCONSTANT_ALL = KFCURVE_CONSTANT_ALL
}
  Key constant mode. More...
enum   EVelocityMode {
   eVELOCITY_NONE = KFCURVE_VELOCITY_NONE,
   eVELOCITY_RIGHT = KFCURVE_VELOCITY_RIGHT,
   eVELOCITY_NEXT_LEFT = KFCURVE_VELOCITY_NEXT_LEFT,
   eVELOCITY_ALL = KFCURVE_VELOCITY_ALL
}
enum   ETangentVisibility {
   eTANGENT_SHOW_NONE = KFCURVE_TANGEANT_SHOW_NONE,
   eTANGENT_SHOW_LEFT = KFCURVE_TANGEANT_SHOW_LEFT,
   eTANGENT_SHOW_RIGHT = KFCURVE_TANGEANT_SHOW_RIGHT,
   eTANGENT_SHOW_BOTH = KFCURVE_TANGEANT_SHOW_BOTH
}
enum   EKFbxAnimCurveDataIndex {
   eRIGHT_SLOPE = KFCURVEKEY_RIGHT_SLOPE,
   eNEXT_LEFT_SLOPE = KFCURVEKEY_NEXT_LEFT_SLOPE,
   eWEIGHTS = KFCURVEKEY_WEIGHTS,
   eRIGHT_WEIGHT = KFCURVEKEY_RIGHT_WEIGHT,
   eNEXT_LEFT_WEIGHT = KFCURVEKEY_NEXT_LEFT_WEIGHT,
   eVELOCITY = KFCURVEKEY_VELOCITY,
   eRIGHT_VELOCITY = KFCURVEKEY_RIGHT_VELOCITY,
   eNEXT_LEFT_VELOCITY = KFCURVEKEY_NEXT_LEFT_VELOCITY,
   eTCB_TENSION = KFCURVEKEY_TCB_TENSION,
   eTCB_CONTINUITY = KFCURVEKEY_TCB_CONTINUITY,
   eTCB_BIAS = KFCURVEKEY_TCB_BIAS
}

Static Public Attributes

static const int  kWEIGHT_DIVIDER = 9999
static const float  kDEFAULT_WEIGHT
static const float  kMIN_WEIGHT
static const float  kMAX_WEIGHT
static const float  kDEFAULT_VELOCITY

Member Enumeration Documentation

Tangent modes.

  • eTANGENT_AUTO Spline cardinal.
  • eTANGENT_TCB Spline TCB (Tangent/Continuity/Bias).
  • eTANGENT_USER Next slope at the left equal to slope at the right.
  • eTANGENT_BREAK Independent left and right slopes.
  • eTANGENT_AUTO_BREAK Combination of eTANGENT_AUTO and eTANGENT_BREAK.
  • eTANGENT_GENERIC_CLAMP Auto key should be flat if next or previous keys have same value.
  • eTANGENT_GENERIC_TIME_INDEPENDENT Auto key time independent.
Enumerator:
eTANGENT_AUTO 
eTANGENT_TCB 
eTANGENT_USER 
eTANGENT_BREAK 
eTANGENT_AUTO_BREAK 
eTANGENT_GENERIC_CLAMP 
eTANGENT_GENERIC_TIME_INDEPENDENT 

Definition at line 74 of file kfbxanimcurve.h.

Interpolation modes.

  • eINTERPOLATION_CONSTANT Constant value until next key.
  • eINTERPOLATION_LINEAR Linear progression to next key.
  • eINTERPOLATION_CUBIC Cubic progression to next key.
  • eINTERPOLATION_ALL
Enumerator:
eINTERPOLATION_CONSTANT 
eINTERPOLATION_LINEAR 
eINTERPOLATION_CUBIC 
eINTERPOLATION_ALL 

Definition at line 91 of file kfbxanimcurve.h.

Weight modes.

  • eWEIGHTED_NONE
  • eWEIGHTED_RIGHT
  • eWEIGHTED_NEXT_LEFT
  • eWEIGHTED_ALL
Enumerator:
eWEIGHTED_NONE 
eWEIGHTED_RIGHT 
eWEIGHTED_NEXT_LEFT 
eWEIGHTED_ALL 

Definition at line 104 of file kfbxanimcurve.h.

Key constant mode.

  • eCONSTANT_STANDARD
  • eCONSTANT_NEXT
  • eCONSTANT_ALL
Enumerator:
eCONSTANT_STANDARD 
eCONSTANT_NEXT 
eCONSTANT_ALL 

Definition at line 116 of file kfbxanimcurve.h.

Enumerator:
eVELOCITY_NONE 
eVELOCITY_RIGHT 
eVELOCITY_NEXT_LEFT 
eVELOCITY_ALL 

Definition at line 122 of file kfbxanimcurve.h.

Enumerator:
eTANGENT_SHOW_NONE 
eTANGENT_SHOW_LEFT 
eTANGENT_SHOW_RIGHT 
eTANGENT_SHOW_BOTH 

Definition at line 129 of file kfbxanimcurve.h.

Enumerator:
eRIGHT_SLOPE 
eNEXT_LEFT_SLOPE 
eWEIGHTS 
eRIGHT_WEIGHT 
eNEXT_LEFT_WEIGHT 
eVELOCITY 
eRIGHT_VELOCITY 
eNEXT_LEFT_VELOCITY 
eTCB_TENSION 
eTCB_CONTINUITY 
eTCB_BIAS 

Definition at line 136 of file kfbxanimcurve.h.


Member Data Documentation

const int kWEIGHT_DIVIDER = 9999 [static]

Definition at line 59 of file kfbxanimcurve.h.

const float kDEFAULT_WEIGHT [static]

Definition at line 60 of file kfbxanimcurve.h.

const float kMIN_WEIGHT [static]

Definition at line 61 of file kfbxanimcurve.h.

const float kMAX_WEIGHT [static]

Definition at line 62 of file kfbxanimcurve.h.

const float kDEFAULT_VELOCITY [static]

Definition at line 63 of file kfbxanimcurve.h.

KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef
KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef